const express = require('express')

const app = express()



// 导入解析表单数据的中间件 body-parser
const parser = require('body-parser')

app.use(parser.urlencoded({extended:false}))

app.get('/',(req,res)=>{
    console.log(req.body);
    res.send("home page")
})
app.listen(80,()=>{
    console.log('http://127.0.0.1:80');
}) 